home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AppsToGo / DTS.Lib / DTS.Lib.headers / Init.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  1.1 KB  |  52 lines  |  [TEXT/MPS ]

  1. #ifndef __INIT__
  2. #define __INIT__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8.  
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14.  
  15.  
  16. void            Initialize(short moreMasters, long minHeap, long minSpace,
  17.                            ProcPtr init1, ProcPtr init2);
  18.     /*
  19.     **    ¶ AppsToGo toolbox/application initialization.
  20.     **
  21.     **    INPUT:    moreMasters
  22.     **            minHeap
  23.     **            minSpace
  24.     **            init1
  25.     **            init2
  26.     **
  27.     **    Given minHeap and minSpace values, get stuff going.  Also, we are passed in two procedure
  28.     **    pointers.  If these are not nil, they are called at intermediate points during the
  29.     **    initialization process.  The first proc is called after the Utilities.c standard
  30.     **    initialization is complete.  The second proc is called very near the end of the
  31.     **    initialization, but just prior to the menus being initialized. */
  32.  
  33.  
  34.  
  35. void            StartDocuments(void);
  36.     /*
  37.     **    ¶ Pre-system 7 finder file management.
  38.     **
  39.     **    This function handles the documents selected in the finder, either for loading or for
  40.     **    printing.  This is only if we don’t have AppleEvents.  If we have AppleEvents, then this
  41.     **    will all be done automatically via those wonderful AppleEvent thingies. */
  42.  
  43.  
  44.  
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49.  
  50.  
  51. #endif
  52.